<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" version="1.0">

    <xsl:include href="param.add.xsl"/>

    <xsl:param name="admon.graphics">0</xsl:param>

    <xsl:param name="admon.graphics.path" select="concat($path.images,'admonitions/')"/>

    <xsl:param name="admon.graphics.extension">.svg</xsl:param>

    <xsl:param name="admon.textlabel">1</xsl:param>

    <xsl:param name="alignment">justify</xsl:param>

    <xsl:param name="appendix.autolabel">A</xsl:param>

    <xsl:param name="arbortext.extensions">0</xsl:param>

    <xsl:param name="axf.extensions">0</xsl:param>

    <xsl:param name="body.end.indent">0pt</xsl:param>

    <xsl:param name="body.font.master.unit">pt</xsl:param>

    <xsl:param name="body.font.size" select="concat($body.font.master,$body.font.master.unit)"/>

    <xsl:param name="body.font.master">10</xsl:param>

    <xsl:param name="body.font.family" select="$serif.font.family"/>

    <xsl:param name="body.start.indent">
        <xsl:choose>
            <xsl:when test="$fop.extensions != 0">0pt</xsl:when>
            <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
            <xsl:otherwise>4pc</xsl:otherwise>
        </xsl:choose>
    </xsl:param>

    <xsl:param name="default.image.width"/>

    <xsl:param name="dingbat.font.family" select="$serif.font.family"/>
    <!--xsl:param name="dingbat.font.family">ZapfDingbats</xsl:param-->

    <xsl:param name="double.sided">
        <xsl:choose>
            <xsl:when test="/book">1</xsl:when>
            <xsl:when test="/article">1</xsl:when>
            <xsl:otherwise>0</xsl:otherwise>
        </xsl:choose>
    </xsl:param>

    <xsl:param name="draft.mode">maybe</xsl:param>

    <xsl:param name="footer.column.widths">0 1 0</xsl:param>

    <xsl:param name="footer.rule">0</xsl:param>

    <xsl:param name="footnote.number.format">1</xsl:param>

    <xsl:param name="footers.on.blank.pages">1</xsl:param>

    <xsl:param name="fop.extensions">0</xsl:param>

    <xsl:param name="formal.procedures">1</xsl:param>

    <xsl:param name="formal.abstract">0</xsl:param>

    <xsl:param name="formal.title.placement">
        <xsl:text>
            figure before
            table before
            example before
            equation before
            procedure before
            task before</xsl:text>
    </xsl:param>

    <xsl:param name="generate.section.toc.level">2</xsl:param>

    <xsl:param name="generate.toc">
        <xsl:text>
            appendix toc,title
            article/appendix  nop
            /article  toc,title
            book      toc,title
            chapter  toc,title
            part      toc,title
            preface  toc,title
            reference toc,title
            /section    toc,title
            /sect1    toc,title
            /sect2    toc
            /sect3    toc
            /sect4    toc
            /sect5    toc
            set       toc,title</xsl:text>
    </xsl:param>

    <xsl:param name="glossterm.separation">1em</xsl:param>

    <xsl:param name="glossterm.width">2in</xsl:param>

    <xsl:param name="glossterm.auto.link">1</xsl:param>

    <xsl:param name="header.rule">0</xsl:param>

    <xsl:param name="header.column.widths">1 18 1</xsl:param>

    <xsl:param name="headers.on.blank.pages">1</xsl:param>

    <xsl:param name="hyphenate.verbatim">1</xsl:param>

    <xsl:param name="insert.link.page.number">maybe</xsl:param>

    <xsl:param name="insert.xref.page.number">1</xsl:param>

    <xsl:param name="menuchoice.menu.separator">&#xa0;&gt; </xsl:param>
    <!-- flèche : &#x2192;-->

    <xsl:param name="marker.section.level">0</xsl:param>

    <xsl:param name="monospace.font.family">monospace</xsl:param>

    <xsl:param name="page.margin.top">0.5in</xsl:param>

    <xsl:param name="page.margin.bottom">0.5in</xsl:param>

    <xsl:param name="page.margin.inner">
        <xsl:choose>
            <xsl:when test="$double.sided != 0">1.25in</xsl:when>
            <xsl:otherwise>1in</xsl:otherwise>
        </xsl:choose>
    </xsl:param>

    <xsl:param name="paper.type">A4</xsl:param>

    <xsl:param name="page.margin.outer">
        <xsl:choose>
            <xsl:when test="$double.sided != 0">0.75in</xsl:when>
            <xsl:otherwise>1in</xsl:otherwise>
        </xsl:choose>
    </xsl:param>

    <xsl:param name="passivetex.extensions">0</xsl:param>

    <xsl:param name="region.after.extent">0.4in</xsl:param>

    <xsl:param name="region.before.extent">0.4in</xsl:param>

    <xsl:param name="runinhead.title.end.punct">-.!?:</xsl:param>

    <xsl:param name="sans.font.family">Helvetica,Arial,sans-serif</xsl:param>

    <xsl:param name="serif.font.family">Times,Times New Roman,serif</xsl:param>

    <xsl:param name="section.autolabel">0</xsl:param>

    <xsl:param name="section.autolabel.max.depth">6</xsl:param>

    <xsl:param name="segmentedlist.as.table">1</xsl:param>
    
    <xsl:param name="shade.verbatim">1</xsl:param>

    <xsl:param name="sidebar.float.type">none</xsl:param>

    <xsl:param name="sidebar.float.width">1.75in</xsl:param>

    <xsl:param name="table.footnote.number.format" select="'1'"/>

    <xsl:param name="table.frame.border.color" select="$title.font.color"/>

    <xsl:param name="table.cell.border.color" select="$title.font.color"/>

    <xsl:param name="table.frame.border.thickness">medium</xsl:param>

    <xsl:param name="table.cell.border.thickness">thin</xsl:param>

    <xsl:param name="title.font.family" select="$sans.font.family"/>

    <xsl:param name="title.margin.left">
        <xsl:choose>
            <xsl:when test="$fop.extensions != 0">-4pc</xsl:when>
            <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
            <xsl:otherwise>0pt</xsl:otherwise>
        </xsl:choose>
    </xsl:param>

    <xsl:param name="toc.section.depth">
        <xsl:choose>
            <xsl:when test="$doc.type='iom'">2</xsl:when>
            <xsl:otherwise>1</xsl:otherwise>
        </xsl:choose>
    </xsl:param>

    <xsl:param name="toc.max.depth">
        <xsl:choose>
            <xsl:when test="//part">4</xsl:when>
            <xsl:otherwise>3</xsl:otherwise>
        </xsl:choose>
    </xsl:param>

    <xsl:param name="ulink.footnotes">0</xsl:param>

    <xsl:param name="ulink.hyphenate">&#x200B;</xsl:param>

    <xsl:param name="ulink.hyphenate.chars">:/\@&amp;?.#&lt;</xsl:param>
    <!--FBA:MOD:added backslash and &lt; -->

    <xsl:param name="ulink.show">0</xsl:param>

    <xsl:param name="use.local.olink.style">0</xsl:param>

    <xsl:param name="use.role.as.xrefstyle">0</xsl:param>

    <xsl:param name="use.role.for.mediaobject">1</xsl:param>

    <xsl:param name="use.svg.itemsymbols">1</xsl:param>

    <xsl:param name="variablelist.as.blocks">
        <xsl:choose>
            <xsl:when test="$doc.type = 'ug'">1</xsl:when>
            <xsl:otherwise>0</xsl:otherwise>
        </xsl:choose>
    </xsl:param>

    <xsl:param name="variablelist.max.termlength">24</xsl:param>

    <xsl:param name="variablelist.term.break.after">1</xsl:param>

    <xsl:param name="variablelist.term.separator">, </xsl:param>

    <xsl:param name="xep.extensions">1</xsl:param>

    <xsl:param name="xref.label-title.separator">: </xsl:param>

    <xsl:param name="xref.with.number.and.title">1</xsl:param>

    <!-- == FO properties == -->

    <xsl:attribute-set name="abstract.title.properties">
        <xsl:attribute name="font-family">
            <xsl:value-of select="$title.font.family"/>
        </xsl:attribute>
        <xsl:attribute name="color">
            <xsl:value-of select="$title.font.color"/>
        </xsl:attribute>
        <xsl:attribute name="hyphenate">false</xsl:attribute>
        <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
        <xsl:attribute name="space-before.optimum">
            <xsl:value-of select="concat($body.font.master, 'pt')"/>
        </xsl:attribute>
        <xsl:attribute name="space-before.minimum">
            <xsl:value-of select="concat($body.font.master, 'pt * 0.8')"/>
        </xsl:attribute>
        <xsl:attribute name="space-before.maximum">
            <xsl:value-of select="concat($body.font.master, 'pt * 1.2')"/>
        </xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="admonition.properties">
        <xsl:attribute name="font-size">0.9em</xsl:attribute>
        <xsl:attribute name="border-width">thin</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="admonition.title.properties">
        <xsl:attribute name="color">
            <xsl:value-of select="$title.font.color"/>
        </xsl:attribute>
        <xsl:attribute name="background-color">white</xsl:attribute>
        <xsl:attribute name="border-width">thin</xsl:attribute>
        <xsl:attribute name="font-size">1.0em</xsl:attribute>
        <xsl:attribute name="font-weight">bold</xsl:attribute>
        <xsl:attribute name="text-align">start</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="component.title.properties">
        <xsl:attribute name="font-family">
            <xsl:value-of select="$title.font.family"/>
        </xsl:attribute>
        <xsl:attribute name="color">
            <xsl:value-of select="$title.font.color"/>
        </xsl:attribute>
        <xsl:attribute name="hyphenate">false</xsl:attribute>
        <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
        <xsl:attribute name="space-before.optimum">
            <xsl:value-of select="concat($body.font.master, 'pt')"/>
        </xsl:attribute>
        <xsl:attribute name="space-before.minimum">
            <xsl:value-of select="concat($body.font.master, 'pt * 0.8')"/>
        </xsl:attribute>
        <xsl:attribute name="space-before.maximum">
            <xsl:value-of select="concat($body.font.master, 'pt * 1.2')"/>
        </xsl:attribute>
        <xsl:attribute name="start-indent">
            <xsl:value-of select="$title.margin.left"/>
        </xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="equation.properties"
        use-attribute-sets="formal.object.properties block-with-border.properties"> </xsl:attribute-set>

    <xsl:attribute-set name="example.properties" use-attribute-sets="formal.object.properties"> </xsl:attribute-set>

    <xsl:attribute-set name="figure.properties" use-attribute-sets="formal.object.properties">
        <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="formal.object.properties">
        <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
        <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
        <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
        <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
        <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
        <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
        <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="formal.title.properties">
        <xsl:attribute name="font-family">
            <xsl:value-of select="$title.font.family"/>
        </xsl:attribute>
        <xsl:attribute name="color">
            <xsl:value-of select="$title.font.color"/>
        </xsl:attribute>
        <xsl:attribute name="hyphenate">false</xsl:attribute>
        <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
        <xsl:attribute name="text-align">start</xsl:attribute>
        <xsl:attribute name="font-size">1em</xsl:attribute>
        <xsl:attribute name="font-weight">
            <xsl:choose>
                <xsl:when test="ancestor-or-self::figure|ancestor-or-self::table">normal</xsl:when>
                <xsl:otherwise>bold</xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
        <xsl:attribute name="font-style">
            <xsl:choose>
                <xsl:when test="ancestor-or-self::figure|ancestor-or-self::table">italic</xsl:when>
                <xsl:otherwise>normal</xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="graphical.admonition.properties">
        <xsl:attribute name="border-style">none</xsl:attribute>
        <xsl:attribute name="border-width">thin</xsl:attribute>
        <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
        <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
        <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
        <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
        <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
        <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
        <xsl:attribute name="padding-top">0.6em</xsl:attribute>
        <xsl:attribute name="padding-bottom">0.6em</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="index.div.title.properties">
        <xsl:attribute name="font-family">
            <xsl:value-of select="$title.font.family"/>
        </xsl:attribute>
        <xsl:attribute name="color">
            <xsl:value-of select="$title.font.color"/>
        </xsl:attribute>
        <xsl:attribute name="hyphenate">false</xsl:attribute>
        <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
        <xsl:attribute name="margin-left">0pt</xsl:attribute>
        <xsl:attribute name="start-indent">0pt</xsl:attribute>
        <xsl:attribute name="font-size">14.4pt</xsl:attribute>
        <xsl:attribute name="space-before.optimum">
            <xsl:value-of select="concat($body.font.master,'pt')"/>
        </xsl:attribute>
        <xsl:attribute name="space-before.minimum">
            <xsl:value-of select="concat($body.font.master,'pt * 0.8')"/>
        </xsl:attribute>
        <xsl:attribute name="space-before.optimum">
            <xsl:value-of select="concat($body.font.master,'pt * 1.2')"/>
        </xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="informal.object.properties">
        <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
        <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
        <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
        <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
        <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
        <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="informalexample.properties"
        use-attribute-sets="informal.object.properties"> </xsl:attribute-set>

    <xsl:attribute-set name="informalfigure.properties"
        use-attribute-sets="informal.object.properties"/>

    <xsl:attribute-set name="informalequation.properties"
        use-attribute-sets="informal.object.properties block-with-border.properties"/>

    <xsl:attribute-set name="itemizedlist.label.properties">
        <xsl:attribute name="font-family">
            <xsl:choose>
                <xsl:when test="ancestor-or-self::listitem[2]">Arial</xsl:when>
                <xsl:otherwise>DejaVu Sans</xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
        <xsl:attribute name="color">
            <xsl:value-of select="$title.font.color"/>
        </xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="list.block.spacing">
        <xsl:attribute name="space-before.optimum">
            <xsl:choose>
                <xsl:when test="ancestor::para | ancestor::listitem">0.5em</xsl:when>
                <xsl:when test="self::simplelist">0.5em</xsl:when>
                <xsl:otherwise>1em</xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
        <xsl:attribute name="space-before.minimum">
            <xsl:choose>
                <xsl:when test="ancestor::para | ancestor::listitem">0.4em</xsl:when>
                <xsl:otherwise>0.8em</xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
        <xsl:attribute name="space-before.maximum">
            <xsl:choose>
                <xsl:when test="ancestor::para | ancestor::listitem">0.8em</xsl:when>
                <xsl:otherwise>1.2em</xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
        <xsl:attribute name="space-after.optimum">
            <xsl:choose>
                <xsl:when test="ancestor::para | ancestor::listitem">0.5em</xsl:when>
                <xsl:otherwise>1em</xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
        <xsl:attribute name="space-after.minimum">
            <xsl:choose>
                <xsl:when test="ancestor::para | ancestor::listitem">0.4em</xsl:when>
                <xsl:otherwise>0.8em</xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
        <xsl:attribute name="space-after.maximum">
            <xsl:choose>
                <xsl:when test="ancestor::para | ancestor::listitem">0.8em</xsl:when>
                <xsl:otherwise>1.2em</xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="monospace.properties">
        <xsl:attribute name="font-family">
            <!-- gives priority to a font that allows special-character-wrapping
                if the element might contain long lines.
                e.g. 'DejaVu Sans Mono', 'Liberation Mono'. -->
            <xsl:choose>
                <xsl:when test="ancestor-or-self::screen|ancestor-or-self::programlisting">
                    <xsl:value-of
                        select="concat('DejaVu Sans Mono,',$monospace.font.family)"
                    />
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="$monospace.font.family"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
        <xsl:attribute name="font-stretch">normal</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="monospace.verbatim.properties"
        use-attribute-sets="verbatim.properties monospace.properties">
        <xsl:attribute name="font-size">0.8em</xsl:attribute>
        <xsl:attribute name="wrap-option">wrap</xsl:attribute>
        <xsl:attribute name="hyphenation-character">&#x21B5;</xsl:attribute>
        <!-- requires 'DejaVu Sans Mono' or 'Liberation Mono'. -->
    </xsl:attribute-set>

    <xsl:attribute-set name="nongraphical.admonition.properties">
        <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
        <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
        <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
        <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
        <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
        <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
        <xsl:attribute name="margin-left">0in</xsl:attribute>
        <xsl:attribute name="margin-right">0in</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="normal.para.spacing">
        <!-- set paragraph spacings -->
        <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
        <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
        <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
        <!-- set paragraph indentation -->
        <xsl:attribute name="text-indent">0em</xsl:attribute>
        <xsl:attribute name="text-align-last">start</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="orderedlist.label.properties">
        <xsl:attribute name="color">
            <xsl:value-of select="$title.font.color"/>
        </xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="section.properties"> </xsl:attribute-set>

    <xsl:attribute-set name="section.level1.properties" use-attribute-sets="section.properties"> </xsl:attribute-set>

    <xsl:attribute-set name="section.level2.properties" use-attribute-sets="section.properties"> </xsl:attribute-set>

    <xsl:attribute-set name="section.level3.properties" use-attribute-sets="section.properties"> </xsl:attribute-set>

    <xsl:attribute-set name="section.level4.properties" use-attribute-sets="section.properties"> </xsl:attribute-set>

    <xsl:attribute-set name="section.level5.properties" use-attribute-sets="section.properties"> </xsl:attribute-set>

    <xsl:attribute-set name="section.level6.properties" use-attribute-sets="section.properties"> </xsl:attribute-set>

    <xsl:attribute-set name="section.title.properties">
        <xsl:attribute name="color">
            <xsl:value-of select="$title.font.color"/>
        </xsl:attribute>
        <xsl:attribute name="font-family">
            <xsl:value-of select="$title.font.family"/>
        </xsl:attribute>
        <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
        <xsl:attribute name="hyphenate">false</xsl:attribute>
        <xsl:attribute name="font-weight">bold</xsl:attribute>
        <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
        <xsl:attribute name="space-before.optimum">1.4em</xsl:attribute>
        <xsl:attribute name="space-before.maximum">1.6em</xsl:attribute>
        <xsl:attribute name="space-after.minimum">0.6em</xsl:attribute>
        <xsl:attribute name="space-after.optimum">0.8em</xsl:attribute>
        <xsl:attribute name="space-after.maximum">1.0em</xsl:attribute>
        <xsl:attribute name="text-align">start</xsl:attribute>
        <xsl:attribute name="start-indent">
            <xsl:value-of select="$title.margin.left"/>
        </xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="section.title.level1.properties"
        use-attribute-sets="rule.after.title.properties section.title.properties">
        <xsl:attribute name="font-size">
            <xsl:value-of select="$body.font.master * 1.8"/>
            <xsl:text>pt</xsl:text>
        </xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="section.title.level2.properties"
        use-attribute-sets="rule.after.title.properties section.title.properties">
        <xsl:attribute name="font-size">
            <xsl:value-of select="$body.font.master * 1.44"/>
            <xsl:text>pt</xsl:text>
        </xsl:attribute>
        <xsl:attribute name="start-indent">
            <xsl:value-of select="$body.start.indent"/>
        </xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="section.title.level3.properties"
        use-attribute-sets="section.title.properties">
        <xsl:attribute name="font-size">
            <xsl:value-of select="$body.font.master * 1.2"/>
            <xsl:text>pt</xsl:text>
        </xsl:attribute>
        <xsl:attribute name="start-indent">
            <xsl:value-of select="$body.start.indent"/>
        </xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="section.title.level4.properties"
        use-attribute-sets="section.title.properties">
        <xsl:attribute name="font-size">
            <xsl:value-of select="$body.font.master * 1.0"/>
            <xsl:text>pt</xsl:text>
        </xsl:attribute>
        <xsl:attribute name="start-indent">
            <xsl:value-of select="$body.start.indent"/>
        </xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="section.title.level5.properties"
        use-attribute-sets="section.title.properties">
        <xsl:attribute name="font-size">
            <xsl:value-of select="$body.font.master * 1.0"/>
            <xsl:text>pt</xsl:text>
        </xsl:attribute>
        <xsl:attribute name="start-indent">
            <xsl:value-of select="$body.start.indent"/>
        </xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="section.title.level6.properties"
        use-attribute-sets="section.title.properties">
        <xsl:attribute name="font-size">
            <xsl:value-of select="$body.font.master * 1.0"/>
            <xsl:text>pt</xsl:text>
        </xsl:attribute>
        <xsl:attribute name="start-indent">
            <xsl:value-of select="$body.start.indent"/>
        </xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="shade.verbatim.style">
        <xsl:attribute name="background-color">#F0F0F0</xsl:attribute>
        <xsl:attribute name="padding-left">0.5em</xsl:attribute>
        <xsl:attribute name="padding-top">0.5em</xsl:attribute>
        <xsl:attribute name="padding-right">0.5em</xsl:attribute>
        <xsl:attribute name="padding-bottom">0.5em</xsl:attribute>
        <xsl:attribute name="margin">0pt</xsl:attribute>
        <xsl:attribute name="line-stacking-strategy">font-height</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="sidebar.properties" use-attribute-sets="formal.object.properties">
        <xsl:attribute name="border-style">solid</xsl:attribute>
        <xsl:attribute name="border-width">1pt</xsl:attribute>
        <xsl:attribute name="border-color">black</xsl:attribute>
        <xsl:attribute name="background-color">#DDDDDD</xsl:attribute>
        <xsl:attribute name="padding-left">1em</xsl:attribute>
        <xsl:attribute name="padding-right">1em</xsl:attribute>
        <xsl:attribute name="padding-top">0.5em</xsl:attribute>
        <xsl:attribute name="padding-bottom">0.5em</xsl:attribute>
        <xsl:attribute name="margin-left">0pt</xsl:attribute>
        <xsl:attribute name="margin-right">0pt</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="sidebar.title.properties">
        <xsl:attribute name="font-weight">bold</xsl:attribute>
        <xsl:attribute name="hyphenate">false</xsl:attribute>
        <xsl:attribute name="text-align">start</xsl:attribute>
        <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="table.table.properties">
        <xsl:attribute name="border-before-width.conditionality">retain</xsl:attribute>
        <xsl:attribute name="border-collapse">collapse</xsl:attribute>
        <xsl:attribute name="text-align">start</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="verbatim.properties">
        <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
        <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
        <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
        <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
        <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
        <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="xep.index.item.properties">
        <xsl:attribute name="merge-subsequent-page-numbers">true</xsl:attribute>
        <xsl:attribute name="link-back">true</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="xref.properties">
        <xsl:attribute name="color">
            <xsl:value-of select="$xref.font.color"/>
        </xsl:attribute>
        <xsl:attribute name="text-decoration">none</xsl:attribute>
    </xsl:attribute-set>

</xsl:stylesheet>
